<?php

namespace App\Http\Controllers;



use Illuminate\Http\Request;

use App\Http\Requests;


use Illuminate\Support\Facades\DB;

class OrderController extends Controller
{
    public function ConfirmOrder(Request $request)
    {
        $lat=113.2;
        $lng=22.2;
        $sid=10;
        $payment=0;
        if ($request->has('sid')) {
            $num=$request->get('sid');
        }else{
            return json_error('店铺id为必填');
        }
        if ($request->has('payment')) {
            $payment=$request->get('payment');
        }else{
            return json_error('支付金额不可为空');
        }


        return json_success('1');
    }

}
